package model

import (
	"time"
)

type WithdrawalHistory struct {
	ID             string    `bson:"id" json:"id" toml:"id" yaml:"id"`
	ExchangeID     string    `bson:"exchangeId" json:"exchangeId" toml:"exchangeId" yaml:"exchangeId"`
	Status         string    `bson:"status" json:"status" toml:"status" yaml:"status"`
	Currency       string    `bson:"currency" json:"currency" toml:"currency" yaml:"currency"`
	Amount         float64   `bson:"amount" json:"amount" toml:"amount" yaml:"amount"`
	Description    string    `bson:"description" json:"description,omitempty" toml:"description" yaml:"description,omitempty"`
	WithdrawType   int       `bson:"withdrawType" json:"withdrawType" toml:"withdrawType" yaml:"withdrawType"`
	CreatedAt      time.Time `bson:"createdAt" json:"createdAt" toml:"createdAt" yaml:"createdAt"`
	UpdatedAt      time.Time `bson:"updatedAt" json:"updatedAt" toml:"updatedAt" yaml:"updatedAt"`
	ExchangeNameID string    `bson:"exchangeNameId" json:"exchangeNameId" toml:"exchangeNameId" yaml:"exchangeNameId"`
}
